package com.desmart.ht;

import android.support.annotation.Nullable;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

public class MoNiAdapter extends BaseQuickAdapter<String,BaseViewHolder>{

    public MoNiAdapter(@Nullable List<String> data) {
        super(R.layout.list_item_moni, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        helper.itemView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                ScheduleDetailActivity.start(mContext,ScheduleDetailActivity.type_watch);
            }
        });

    }
}
